from tkinter import *

class Application(Frame):
	def __init__(self, master=None):
		super().__init__(master)
		self.pack()
		self.setWindow()

	def setWindow(self):
		self.btn = Button(self, text='this is button', command=self.echohere)
		self.btn.pack()

	def echohere(self):
		print('Hello TKinter....')
		


app = Application()
app.master.title('GGGGGGUI')
app.mainloop()

